package com.example.music_project.entity;
/*社交圈实体类*/
public class SocialPost {
    private String username;
    private String content;
    private String time;
    private int avatarResId;
    private int musicCoverResId;


    public SocialPost(String username, String content, String time, int avatarResId, int musicCoverResId) {
        this.username = username;
        this.content = content;
        this.time = time;
        this.avatarResId = avatarResId;
        this.musicCoverResId = musicCoverResId;
    }

    // Getters
    public String getUsername() { return username; }
    public String getContent() { return content; }
    public String getTime() { return time; }
    public int getAvatarResId() { return avatarResId; }
    public int getMusicCoverResId() { return musicCoverResId; }
}
